@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  .margin-center {
    @apply mx-auto my-0;
  }
  .flex-center {
    @apply flex items-center justify-center;
  }
  .absolute-center {
    @apply absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2;
  }
}

.contBox {
  // @apply bg-card border-border border p-4;
  @apply bg-card p-2;
  scrollbar-gutter: stable;
  border-radius: var(--radius);
}

.flex_rb {
  @apply flex justify-between;
}

.pointer {
  @apply cursor-pointer;
}

.scrollY {
  // @apply overflow-y-scroll;
  overflow-y: scroll;
  // &::-webkit-scrollbar {
  //   display: none !important;
  // }
  // &:hover {
  //   &::-webkit-scrollbar {
  //     display: block !important;
  //   }
  // }
}

.borderRadius {
  border-radius: var(--radius);
}
.hover {
  @apply hover:bg-accent;
}
.transition {
  transition: all 0.3s ease-in-out;
}
.active {
  @apply bg-accent;
}
